package com.supreme.threadserver.annotation;

import com.supreme.threadserver.config.ThreadPoolTaskConfig;
import org.springframework.scheduling.annotation.Async;

import java.lang.annotation.*;

@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Async(value = ThreadPoolTaskConfig.SUPREME_TASK_EXECUTOR)
public @interface SupremeTaskAsync {
}
